package com.xxzb.pack0721.bean;


import com.xxzb.bean.Dept;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Emp {
    private Integer empNo;
    private String ename;
    private String job;
    private Integer mgr;
    private String hireDate;
    private  Double sal;
    private Double comm;
    private Integer deptNo;
    private Integer empState;

    public Emp(String ename, String job, Integer mgr, Double sal, Double comm, Integer deptNo) {
        this.ename = ename;
        this.job = job;
        this.mgr = mgr;
        this.sal = sal;
        this.comm = comm;
        this.deptNo = deptNo;
    }


}
